Data collection from medical record